<?php


namespace app\adminbackstage\validate;


use think\Validate;

class MenuAdd extends Validate
{
    protected $rule = [
        'menu_name'=>'require',
        'link'=>'require'
    ];
    protected $message  =   [
        'menu_name.require' => '请填写菜单名称',
        'link.require'     => '请填写菜单链接',
    ];
}